package com.tedu.service.impl;

import com.tedu.dao.UserDao;
import com.tedu.dao.impl.UserDaoImpl;
import com.tedu.entity.User;
import com.tedu.service.UserService;

public class UserServiceImpl implements UserService {
    //创建UserDao对象
    private UserDao userDao = new UserDaoImpl();
    @Override
    public User login(User user) {
        return userDao.login(user);
    }
}
